{% extends "wizard/base.html" %}
{% load nm %}
{% load js %}

{% block content %}

<h1>{{target_desc}}</h1>

{% if not request.sso_username %}
<p>You are not currently logged in. See the
  <a href="https://wiki.debian.org/DebianSingleSignOn">Single Sign-On page</a>
  for details.</p>
{% elif not visitor %}
<p>You are currently logged in with <a href="https://wiki.debian.org/DebianSingleSignOn">SSO username</a> <b>{{request.user.username}}</b>,
   but you cannot be matched to any person in the site.</p>
<p>If you are already in the site, for example as a Debian Maintainer, you can
   try to correct the situation using the <a href="{% url 'dm_claim' %}">claim
   interface</a>.</p>
<p>If you are not yet in the site, <a href="{% url 'public_newnm' %}">visit
   the 'Join the NM process' page</a> to can create an entry for yourself.</p>
{% else %}
  {% for c in comments %}<p>{{c}}</p>{% endfor %}

  {% if allowed %}
  <p>Just <a href="{% url 'process_create' key=visitor.lookup_key %}">visit this page</a> and follow the instructions.</p>
  {% endif %}
{% endif %}

{% if visitor %}
{% include "wizard/whoami.html" %}
{% endif %}

{% endblock %}

